# Hi!
# Hello you sexy thing.

LDLIBS = -lstdc++
CFLAGS += -Wall -pedantic -g -O
CXXFLAGS = $(CFLAGS)
CC = g++

all: scanner grammar driver

scanner:
	$(CC) $(CFLAGS) scanner.cpp -g -o scanner

grammar: grammar.cpp
driver: driver.cpp

scanner_test:
	./scanner
	cat tokens.txt

clean:
	-rm -f scanner grammar *.o tokens.txt

